<template>

  <div>
    

    
    <el-form :inline="true" :model="formInline" class="demo-form-inline">
  <el-form-item label="题目搜索">
    <el-input v-model="formInline.userDo" placeholder="题目关键字"></el-input>
  </el-form-item>
  <el-form-item label="题目分类">
    <el-select v-model="formInline.region" placeholder="题目分类">
      <el-option label="单选题" value="单选题"></el-option>
      <el-option label="多选题" value="多选题"></el-option>
      <el-option label="填空题" value="填空题"></el-option>
      <el-option label="简答题" value="简答题"></el-option>
    </el-select>
  </el-form-item>
  <el-form-item>
    <el-button type="primary" @click="onSubmit">查询</el-button>
    <el-button type="primary" @click="onSubmit">重置</el-button>
  </el-form-item>
</el-form>
<el-button type="primary"  style="margin-top: 15px">添加题库</el-button>
  <el-button type="success" > 删除题库</el-button>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        formInline: {
          userDo: '',
          region: ''
        }
      }
    },
    methods: {
      onSubmit() {
        console.log('submit!');
      }
    }
  }
</script>
